package org.locker.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.locker.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 用户操作记录对象 lk_device_operate_log
 *
 * @author winnie
 * @date 2023-10-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("lk_device_operate_log")
public class DeviceOperateLog extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 操作ID
     */
    @TableId(value = "user_operate_id")
    private Long userOperateId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 设备ID
     */
    private Long deviceId;


    /**
     * 场地ID
     */
    private Long positionId;

    /**
     * 格子ID
     */
    private Long deviceGridId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 格子状态：open 开锁,close 关闭
     */
    private String status;

    /**
     * 备注
     */
    private String remark;


}
